package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.Wuye;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: T-bao
 * @Date: 2021-3-25 15:03
 * @Description:
 */
public interface WuyeDAO extends BaseMapper<Wuye> {

    int count(String name);
    int selectWuyeName(String name);
    int selectWuyeNameID(String name,String id);


    List<Wuye> selectWuye(String name, int page, @Param("size") int limit);
}
